package javase_class_250909;

import java.sql.SQLOutput;

/**
 * ClassName: Debug01
 * Package: javase_class_250909
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/9/9 10:28
 * @Version 1.0
 */
public class Debug01 {
    public static void main(String[] args) {
        //1.
        int m = 10;
        int n = 20;
        System.out.println("m = " + m + ", n = " + n);
        swap(m, n);
        System.out.println("m = " + m + ", n = " + n);

        //2.
        int[] arr = new int[] {1,2,3,4,5};
        System.out.println(arr);

        char[] arr1 = new char[] {'a', 'b', 'c'};
        System.out.println(arr1);

    }

    public static void swap(int m, int n){
        int temp = m;
        m = n;
        n = temp;
    }
}
